﻿
@model IEnumerable<QBWeb.Models.UserNameTb>
@{
    var i = 1;
}

<p>成员列表</p>
<table class="layui-table" style="margin:0 10px;width:96%;text-align:center;">
    <thead>
        <tr>
            <th style="text-align:center;">ID</th>
            <th style="text-align:center;">姓名</th>
            <th style="text-align:center;">学号</th>
        </tr>
    </thead>
    

    @foreach (var item in Model)
    {

        <tr>
            <td>@i</td>
            <td>@item.NickName</td>
            <td>@item.StudentCode</td>
        </tr>
        i++;
    }

</table>